Skip to content

Conversation

@dsherret
Copy link
Contributor

@dsherret dsherret commented Nov 21, 2025

Unversioned specifiers can cause issues if a breaking change is published. This updates the docs to suggest a workflow that prefers bare specifiers with versioned specifiers maintained in the config.


Note

Update README to recommend adding via jsr/deno and importing with bare "@oak/..." specifiers; adjust all code samples and add note for "@std/http/etag".

  • Docs (README.md):
    • JSR usage: Replace jsr: imports with workflow: deno add jsr:@oak/oak then import { ... } from "@oak/oak".
    • Examples updated:
      • Change all imports from "jsr:@oak/oak/..." to "@oak/oak/..." (e.g., application, router, etag, serve).
      • Update related imports to bare specifiers (e.g., @oak/commons/*).
    • Std library note: Specify @std/http/etag import and mention adding via deno add jsr:@std/http.
    • Platform sections: Align Deno, Node.js, Cloudflare Workers, and Bun instructions and snippets to bare specifiers.

Written by Cursor Bugbot for commit b0450f4. This will update automatically on new commits. Configure here.

Copy link
Collaborator

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kitsonk kitsonk merged commit 51cc817 into oakserver:main Nov 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants